
// 模板字符串
const name = "yz"
const age = 18
const weight = "120g"

const message = `my name is ${name}, age is ${age}, weight is ${weight}`
console.log(message)
function doubleAge() {
  return age * 2
}

const message2 = `my name is ${name}, age is ${doubleAge() - 2}, weight is ${weight}`
console.log(message2)
